ProfilePress\Core\ContentProtection\ContentConditions A

Total Complexity 62
Dependencies 0
Dependents 3
Total lines 486
Lines of code 338
Logical lines of code 139
Comment lines 38
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
generate_post_type_conditions()
A
36 7 93
rules_group_row()
A
50 8 31
rule_row()
S
48 6 36
select_field()
S
55 6 19
rule_value_field()
S
54 4 20
add_conditions()
S
66 4 8
conditions_dropdown_list()
S
62 3 12
add_condition()
S
61 3 12
generate_taxonomy_conditions()
S
52 2 25
generate_post_type_tax_conditions()
S
54 2 20
get_conditions()
S
65 3 10
get_conditions_by_group()
S
64 3 10
taxonomyselect_field()
S
63 2 10
postselect_field()
S
63 2 10
get_condition()
S
74 2 4
get_instance()
S
69 2 7
register_conditions()
S
72 1 5
linked_and_rule_badge()
S
78 1 3
unlinked_and_rule_badge()
S
78 1 3